home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
049a
/
umail005.zip
/
UMAIL.DOC
< prev
next >
Wrap
Text File
|
1991-03-05
|
4KB
|
130 lines
* UMAIL (Unpack inbound echomail) *
-----------------------------------
Version 0.05 / 04. Mar 1991
CopyRight (c) 1991 by Roland Gautschi, CH-5610 Wohlen
Sysop of 2:302/561@fidonet
* This program is public-domain *
Usage:
------
UMAIL D:\INBOUND (drive(!!) and directory where your incoming mail is
stored)
What it does:
-------------
It looks into the given directory and searches the following files:
*.mo?, *.tu?, *.we?, *th?, *.fr?, *.sa? or *.su?
if such file(s) was found, it determinates the packing-program used, to create
the archive. Then it unpacks all files's from the archive into the same
directory. (Using the right unpack-program - of course ;-)
The following unpack-commands are used:
PAK: e /wa file.ext *.*
PkUnZip: -o file.ext *.*
PkUnPak: -r file.ext *.*
PkXarc: -r file.ext *.*
ZOO: -e file.ext *.*
LhArc: e /cnm file.ext *.*
LHa e /cnm file.ext *.*
ARJ e -c -y file.ext *.*
The way of determation the packing method is fully compatible as documented
in the manuals of the archive-programs!
If an unpack-program reports an error, or if the packing method is unknown,
UMAIL renames the file into BAD_MAIL.xxx where xxx is the next unused
integer (000 .. 999).
Why use UMAIL?
--------------
- The most important reason is, that UMAIL supports the new LHa(rc) and ARJ.
- Since ELVIS supports only on Packer you you need UMAIL to extract the Mail.
Requirements
------------
- PC-XT / AT
- DOS 3.0 or later (possibly with Share.EXE installed)
- Memory ;-) (MUTIL needs 64KBytes but most unpack-programs requires about
100K)
Errorlevels
-----------
0 - all packets successfully unpacket or any .PKT's found
1 - No packets found
2 - Usage error, error in one or more archives, or unpack-program not found
How I use UMAIL on my System:
-------------------------------- Import.BAT -----------------------------------
CLS
ECHO *** I M P O R T ***
ECHO *********************
cd \fd
Umail c:\fd\inbound
if errorlevel 1 goto Import2
cd elvis
elvis
cd ..
if exist import.xyz del import.xyz
TOSSCAN TOSS /NOMGR
if not exist import.xyz goto Import2
TsUtil Link
:Import2
amgrfix
cd trackm
TrackM
IF ERRORLEVEL 98 Goto AreaRaid
CD \FD
:Import3
Call TPack.bat
TsUtil Import -f
Goto Ende
:AreaRaid
IF ERRORLEVEL 99 GOTO AreaMgr
CD \FD
cd raid
raid -RK
Goto Import3
:AreaMgr
CD \FD
Tosscan MGR
Goto Import3
:Ende
-------------------------------------------------------------------------------
Technical informations:
-----------------------
- UMAIL is written in TurboC++ 1.0 and compiled in the Tiny memory modell.
- It changes to the specified drive/directory to do all the stuff, and
returns *allways* back to the drive/directory where it's called from.
- It uses DOS 3.0 / share file locking method while reading the archives.
- It uses BIOS calls for screenwrites and runs well in an DesqView
environement
Changes:
--------
0.01 -> 0.02 [06/19/90] If PkUnpak.EXE is not found it tries to find
PKXarc.EXE
0.02 -> 0.03 [06/19/90] Errorlevels
0.03 -> 0.04 [07/12/90] UMAIL exits with errorlevel 0 also if no mail was
unpacked if one or more *.PKT's where found
0.04 -> 0.05 [03/04/91] UMAIL supports also LHa and ARJ